<?php
/**
 * The main template file.
 *
 * This is the most generic template file in a WordPress theme
 * and one of the two required files for a theme (the other being style.css).
 * It is used to display a page when nothing more specific matches a query.
 * E.g., it puts together the home page when no home.php file exists.
 * Learn more: http://codex.wordpress.org/Template_Hierarchy
 *
 * @package WordPress
 * @subpackage Twenty_Ten
 * @since Twenty Ten 1.0
 */
get_header();
get_sidebar(); ?>

<!--contnent-->
<div class="contentColumn clearfix">
    <div class="contentWrap clearfix">
        <div id="slider">
            <?php dynamic_sidebar( 'mega-top-widget-area' ); ?>
        </div><!-- end slider -->
        <!--center>
            <script type="text/javascript">
            google_ad_client = "ca-pub-2489976528038386";
            /* горизонтальный */
            google_ad_slot = "3440992329";
            google_ad_width = 728;
            google_ad_height = 90;
            
            </script>
            <script type="text/javascript"
            src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
            </script>
        </center-->
        <!--a href="/2011/10/nachni-zarabatyvat-so-vsyamolodezh-rf-uzhe-seodnya/" class="banner_money">&nbsp;</a-->
        <div class="subcolumns clearfix">
            <div class="left">
                <?php dynamic_sidebar( 'simple-top-widget-area' ); ?>
            </div><!-- end left -->
            <div class="right">
                <?php dynamic_sidebar( 'region-top-widget-area' ); ?>
            </div><!-- end right -->
        </div><!-- end subcolumns -->
        <!--center>
            <script type="text/javascript">
            google_ad_client = "ca-pub-2489976528038386";
            /* горизонтальный */
            google_ad_slot = "3440992329";
            google_ad_width = 728;
            google_ad_height = 90;
            
            </script>
            <script type="text/javascript"
            src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
            </script>
        </center-->
        <div class="contentWrap clearfix">
            <h3>Региональные партнеры:</h3>
            <?php 
            $region = ay()->region()->getRegion();
            if ($region == 73){?>
                <a href="http://ulstu.ru"><img src="https://s3.amazonaws.com/vmrf/partner/73/ulstu.jpg"></a>
                <a href="http://www.rsu-plan.com"><img src="https://s3.amazonaws.com/vmrf/partner/73/rsu.jpg"></A>
            <?php }
            if ($region == 64){
            ?>
            <a href="http://nmo-saratov.ru"><img src="https://s3.amazonaws.com/vmrf/partner/64/nmo.jpg"></a> 
            <?php }?>
        </div>
        <div class="contentWrap clearfix">
            <?php dynamic_sidebar( 'userblogs-widget-area' ); ?>
        </div>
    </div><!-- .contentWrap end-->
</div><!-- .contentColumn end-->

<?php get_footer(); ?>
